﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Product.aspx.cs" Inherits="TwoWheels.Product" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

   <table>
     <tr>
      <td>
       <img id = "Image1" runat="server" src="" alt="picture" width="400" />
      </td>
      <td>
       <b>Product Name:</b> <%=name %><br />
       <b>Price:</b> <%=price %><br /> 
       <b>In Stock:</b> <%=inStock %><br />
       <br />     
       <asp:Button Visible="false" ID="AddButton" runat="server" 
                            CommandName="AddToCart" 
                            CommandArgument="<%=ID %>"
                            Text="Add to Cart"
                            OnClick="addToCart_Button" />
       <br /><br />
       <b>Description:</b><br />
       &nbsp;&nbsp; <%=desc %><br />
      </td>
     </tr>
   </table>

   

</asp:Content>
